package com.example.lt.entity.dto;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author 小涛Tao
 * @Date: 2024/07/28/21:07
 * version 1.0 注释：找回密码请求参数封装类
 **/
@Data
public class FindPWDTO {

    @Email(message = "邮箱格式不正确")
    private String email;

    @NotNull(message = "code不能为空")
    private Integer code;

    @NotBlank(message = "新密码不能为空")
    private String newPassword;

}
